<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>加入會員</title>
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
</head>

<body>
<p>加入會員</p>
<form id="frmAut" name="frmAut" method="post" action="user_add.php">
  <p>
    <label for="name">姓名：</label>
    <span id="s_name">
    <input type="text" name="name" id="name" />
    <span class="textfieldRequiredMsg">請填寫姓名</span></span></p>
  <p>
    <label for="user">帳號：</label>
    <span id="s_user">
    <input type="text" name="user" id="user" />
    <span class="textfieldRequiredMsg">請輸入帳號</span></span></p>
  <p>
    <label for="pass">密碼：</label>
    <span id="s_pass">
    <input type="password" name="pass" id="pass" />
    <span class="textfieldRequiredMsg">請輸入密碼</span></span></p>
  <p>
    <label for="email">E-mail：</label>
    <span id="s_email">
    <input type="text" name="email" id="email" />
    <span class="textfieldRequiredMsg">需要有一個值。</span><span class="textfieldInvalidFormatMsg">格式無效</span></span></p>
  <p><label>性別：</label>&nbsp;
    <input name="sex" type="radio" id="M" value="M" checked="checked" />
    <label for="M">男</label>
    <input type="radio" name="sex" id="F" value="F" />
    <label for="F">女</label>
  </p>
  <p>&nbsp;</p>
  <p>
    <input type="submit" name="btnSubmit" id="btnSubmit" value="送出" />
    <input type="reset" name="btnReset" id="btnReset" value="重設" />
  </p>
</form>

<script type="text/javascript">
<!--
var sprytextfield1 = new Spry.Widget.ValidationTextField("s_name", "none", {validateOn:["blur"]});
var sprytextfield2 = new Spry.Widget.ValidationTextField("s_email", "email", {validateOn:["blur"]});
var sprytextfield3 = new Spry.Widget.ValidationTextField("s_user", "none", {validateOn:["blur"]});
var sprytextfield4 = new Spry.Widget.ValidationTextField("s_pass", "none", {validateOn:["blur"]});
//-->
</script>
</body>
</html>
